import App from './App'
import http from './common/http.js' //请求封装方法
import util from './common/util.js' //通用方法
import store from './store/store.js' //vuex数据

Vue.prototype.$http = http ; 
Vue.prototype.$util = util ; 
Vue.prototype.$store = store ;
// #ifdef H5
import wx from './common/wechat.js';//微信jssdk
Vue.prototype.$wx = wx;
// #endif
import uView from "uview-ui";
Vue.use(uView);
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false 
App.mpType = 'app'
const app = new Vue({
	store,...App 
})
app.$mount()
// #endif 
 
// #ifdef VUE3
import { createSSRApp } from 'vue'
import util from './common/util'; 
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif